The Math Behind Attention: Keys, Queries, And Values Matrices